<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

///////////////////////// FRONTEND - SHOP /////////////////////////
$route['s/([a-z0-9-]+)']                                    = 'front-template/shop/index/$1';
$route['s/([a-z0-9-]+)/' . CONTACT_SLUG]                    = 'front-template/shop/contact/$1';
$route['s/([a-z0-9-]+)/' . CONTACT_SLUG . '/gui']           = 'front-template/shop/contact_send/$1';
$route['s/([a-z0-9-]+)/' . CATEGORY_SLUG . '/([a-z0-9-]+)'] = 'front-template/shop/getProductByCategory/$1/$2';
$route['s/([a-z0-9-]+)/' . PRODUCT_SLUG . '/([a-z0-9-]+)']  = 'front-template/shop/getProduct/$1/$2';
$route['s/([a-z0-9-]+)/' . PAGING_SLUG]                     = 'front-template/shop/index/$1/$2';
$route['s/([a-z0-9-]+)/' . HIGHLIGHT_SLUG]                  = 'front-template/shop/getHighlightProduct';
$route['s/([a-z0-9-]+)/' . TOP_BUY_SLUG]                    = 'front-template/shop/getTopBuyProduct';
$route['s/([a-z0-9-]+)/' . NEW_SLUG]                        = 'front-template/shop/getNewProduct';
$route['s/([a-z0-9-]+)/' . SALE_SLUG]                       = 'front-template/shop/getSaleProduct';
$route['s/([a-z0-9-]+)/huong-dan-mua-hang']                 = 'front-template/shop/instruct/$1';
$route['s/([a-z0-9-]+)/gioi-thieu']                         = 'front-template/shop/intro/$1';
$route['s/([a-z0-9-]+)/su-kien']                            = 'front-template/shop/event/$1';
$route['s/([a-z0-9-]+)/tim-kiem']                           = 'front-template/shop/search/$1';
$route['s/([a-z0-9-]+)/tim-kiem/' . PAGING_SLUG]            = 'front-template/shop/search/$1/$2';
$route['s/([a-z0-9-]+)/dang-nhap']                          = 'front-template/shop/login';
$route['s/([a-z0-9-]+)/dang-ki']                            = 'front-template/shop/signup';
$route['s/([a-z0-9-]+)/preview']                            = 'front-template/shop/preview/$1';
///////////////////////////////////////////////////////////////